﻿@model HotDealD2.Models.ModelView.ChangePasswordView
@{
    Layout = "../Shared/MemberLayout.cshtml";
}

@{
    ViewBag.Title = "Đổi Mật Khẩu";
    ViewBag.UserName = "member";
}

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>@ViewBag.Title</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="../../../../Content/HomeSite/scripts/jquery.placeholder.js" ></script>
<link type="text/css" media="screen" rel="stylesheet" href="../../../../Content/MemberSite/MemberStyle.css" />

<!--[if IE 6]>
<script type="text/javascript" src="scripts/DD_belatedPNG_0.0.7a.js"></script> 
<script type="text/javascript" src="scripts/png_fix_elements.js"></script> 
<![endif]-->

</head>

<div class="bg_account">
@using (@Html.BeginForm())
{
     @Html.ValidationSummary(true, "Đổi mật khẩu thất bại")
    <div class="bg_account_T">
        Đổi mật khẩu
    </div>
    <div class="bg_account_M">
      
           
        <div class="account_content">
           
                <div class="form_buy">
                    <div class="form_buy_item">
                        <p class="form_buy_left" style="width: 180px; margin: 0px;">
                            Mật khẩu cũ <span class="other_color">(*)</span></p>
                        <p class="form_buy_right" style="margin: 0px;">
                            @Html.PasswordFor(m => m.OldPassword)
                        </p>
                        <br class="clean">
                    </div>                    
                    <div class="form_buy_item">
                        <p class="form_buy_left" style="width: 180px; margin: 0px;">
                            Mật khẩu mới <span class="other_color">(*)</span></p>
                        <p class="form_buy_right" style="margin: 0px;">
                             @Html.PasswordFor(m => m.NewPassword)
                              @Html.ValidationMessageFor(m => m.NewPassword)
                        </p>
                        <br class="clean">
                    </div>
                    <div class="form_buy_item">
                        <p class="form_buy_left" style="width: 180px; margin: 0px;">
                            Nhập lại mật khẩu <span class="other_color">(*)</span></p>
                        <p class="form_buy_right" style="margin: 0px;">
                             @Html.PasswordFor(m => m.ConfirmPassword)
                              @Html.ValidationMessageFor(m => m.ConfirmPassword)
                        </p>
                        <br class="clean">
                    </div>
                    <div class="form_buy_item" align="center" style="margin-top: 20px;">
                        <input class="button" id="btChangePass" type="submit" value="Cập nhật "></div>
                </div>
       </div>
        <br class="clean">
        <br class="clean">
    </div>
    <div class="bg_account_B">
    </div>
    <div style="clear:both"></div>
}
</div>
